package com.sand.service;

import com.sand.entity.TRoleEntity;
import com.sand.entity.TUserEntity;
import com.sand.util.PageModel;

import java.util.List;
import java.util.Map;

public interface IRoleService {
    TRoleEntity queryRoleById(int id);
    List<TRoleEntity> queryRoleAll();
    PageModel<TRoleEntity> queryRoleLimit(int limit,int page,String condition);


    boolean addRole(String data);
    boolean delRole(String data);
    boolean updateRole(String data);
    boolean updateRoleAndAuthority(int id,String data);




}
